home *** CD-ROM | disk | FTP | other *** search
/ BMUG TV-ROM Too / TV-ROM Too™.iso / MooV Too Library / MooV Too Library.rsrc / XFCN_530_Search.txt < prev   
Text File  |  1993-07-23  |  37KB  |  679 lines

  1. start:
  2. 00000000  4E56 0000                link       A6, 0
  3. 00000004  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4. 00000008  4EBA 0346                jsr        [PC + 0x346 /* 00000350 */]
  5. 0000000C  4E5E                     unlink     A6
  6. 0000000E  2E9F                     move.l     [A7], [A7]+
  7. 00000010  4E75                     rts
  8. 00000012  8A45                     or.w       D5, D5
  9. 00000014  4E54 5259                link       A4, -0xFFFFADA7
  10. 00000018  504F                     addq.w     A7, 8
  11. 0000001A  494E                     chk.w      D4, A6
  12. 0000001C  5400                     addq.b     D0, 2
  13. 0000001E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  14. // begin alternate branch 00000020-00000024
  15. fn00000020:
  16. 00000020  4E56 FF00                link       A6, -0x0100
  17. // end alternate branch 00000020-00000024
  18. fn00000020: // (misaligned)
  19. 00000022  FF00                     .extension 0xF00 <<F/4-5/7>> // unimplemented
  20. 00000024  206E 000C                movea.l    A0, [A6 + 0xC]
  21. 00000028  43EE FF00                lea.l      A1, [A6 - 0x100]
  22. 0000002C  703F                     moveq.l    D0, 0x3F
  23. label0000002E:
  24. 0000002E  22D8                     move.l     [A1]+, [A0]+
  25. 00000030  51C8 FFFC                dbf        D0, -0x6 /* 0000002E */
  26. 00000034  226E 0008                movea.l    A1, [A6 + 0x8]
  27. 00000038  2069 0008                movea.l    A0, [A1 + 0x8]
  28. 0000003C  2F08                     move.l     -[A7], A0
  29. 0000003E  42A7                     clr.l      -[A7]
  30. 00000040  226E 0008                movea.l    A1, [A6 + 0x8]
  31. 00000044  2F29 0008                move.l     -[A7], [A1 + 0x8]
  32. 00000048  486E FF00                pea.l      [A6 - 0x100]
  33. 0000004C  4EBA 04AC                jsr        [PC + 0x4AC /* 000004FA */]
  34. 00000050  201F                     move.l     D0, [A7]+
  35. 00000052  205F                     movea.l    A0, [A7]+
  36. 00000054  2140 0042                move.l     [A0 + 0x42], D0
  37. 00000058  206E 0008                movea.l    A0, [A6 + 0x8]
  38. 0000005C  2C48                     movea.l    A6, A0
  39. 0000005E  4EFA 0408                jmp        [PC + 0x408 /* 00000468 */]
  40. 00000062  0000 4E5E                ori.b      D0, 0x5E /* '^' */
  41. 00000066  205F                     movea.l    A0, [A7]+
  42. 00000068  504F                     addq.w     A7, 8
  43. 0000006A  4ED0                     jmp        [A0]
  44. 0000006C  8446                     or.w       D2, D6
  45. 0000006E  4149                     chk.w      D0, A1
  46. 00000070  4C00 0000                movem.w    <none>, D0
  47. fn00000074:
  48. 00000074  4E56 0000                link       A6, 0
  49. 00000078  48E7 0108                movem.l    -[A7], D7,A4
  50. 0000007C  3E2E 000C                move.w     D7, [A6 + 0xC]
  51. 00000080  286E 0008                movea.l    A4, [A6 + 0x8]
  52. 00000084  7001                     moveq.l    D0, 0x01
  53. 00000086  B047                     cmp.w      D0, D7
  54. 00000088  6650                     bne        +0x52 /* 000000DA */
  55. 0000008A  2F2C 0008                move.l     -[A7], [A4 + 0x8]
  56. 0000008E  206C 0008                movea.l    A0, [A4 + 0x8]
  57. 00000092  2068 0002                movea.l    A0, [A0 + 0x2]
  58. 00000096  2F10                     move.l     -[A7], [A0]
  59. 00000098  486C FF00                pea.l      [A4 - 0x100]
  60. 0000009C  4EBA 04F4                jsr        [PC + 0x4F4 /* 00000592 */]
  61. 000000A0  486C FF00                pea.l      [A4 - 0x100]
  62. 000000A4  487A 00F8                pea.l      [PC + 0xF8 /* 0000019E, value 0x13F4E56 */]
  63. 000000A8  4EBA 0592                jsr        [PC + 0x592 /* 0000063C */]
  64. 000000AC  101F                     move.b     D0, [A7]+
  65. 000000AE  670E                     beq        +0x10 /* 000000BE */
  66. 000000B0  487A 0062                pea.l      [PC + 0x62 /* 00000114, value 0x46466F72 'FFor', pstring "Form: Search(container, theString, searchWhole, Every Occurrence Flag)" */]
  67. 000000B4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  68. 000000B8  4EBA FF66                jsr        [PC - 0x9A /* 00000020 */]
  69. 000000BC  601C                     bra        +0x1E /* 000000DA */
  70. label000000BE:
  71. 000000BE  486C FF00                pea.l      [A4 - 0x100]
  72. 000000C2  487A 00D8                pea.l      [PC + 0xD8 /* 0000019C, value 0x121013F */]
  73. 000000C6  4EBA 0574                jsr        [PC + 0x574 /* 0000063C */]
  74. 000000CA  101F                     move.b     D0, [A7]+
  75. 000000CC  670C                     beq        +0xE /* 000000DA */
  76. 000000CE  487A 008C                pea.l      [PC + 0x8C /* 0000015C, value 0x3F536561 '?Sea' */]
  77. 000000D2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  78. 000000D6  4EBA FF48                jsr        [PC - 0xB8 /* 00000020 */]
  79. label000000DA:
  80. 000000DA  7003                     moveq.l    D0, 0x03
  81. 000000DC  B047                     cmp.w      D0, D7
  82. 000000DE  5EC0                     sgt        D0
  83. 000000E0  7204                     moveq.l    D1, 0x04
  84. 000000E2  B247                     cmp.w      D1, D7
  85. 000000E4  5DC1                     slt        D1
  86. 000000E6  8001                     or.b       D0, D1
  87. 000000E8  670C                     beq        +0xE /* 000000F6 */
  88. 000000EA  487A 0028                pea.l      [PC + 0x28 /* 00000114, value 0x46466F72 'FFor', pstring "Form: Search(container, theString, searchWhole, Every Occurrence Flag)" */]
  89. 000000EE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  90. 000000F2  4EBA FF2C                jsr        [PC - 0xD4 /* 00000020 */]
  91. label000000F6:
  92. 000000F6  4CDF 1080                movem.l    D7,A4, [A7]+
  93. 000000FA  4E5E                     unlink     A6
  94. 000000FC  205F                     movea.l    A0, [A7]+
  95. 000000FE  5C4F                     addq.w     A7, 6
  96. 00000100  4ED0                     jmp        [A0]
  97. 00000102  8F43 4845                pack       D7, D3, 0x4845
  98. 00000106  434B                     chk.w      D1, A3
  99. 00000108  5041                     addq.w     D1, 8
  100. 0000010A  5241                     addq.w     D1, 1
  101. 0000010C  4D43                     chk.w      D6, D3
  102. 0000010E  4F55                     chk.w      D7, [A5]
  103. 00000110  4E54 008C                link       A4, -0xFFFFFF74
  104. 00000114  4646                     not.w      D6
  105. 00000116  6F72                     ble        +0x74 /* 0000018A */
  106. 00000118  6D3A                     blt        +0x3C /* 00000154 */
  107. 0000011A  2053                     movea.l    A0, [A3]
  108. 0000011C  6561                     bcs        +0x63 /* 0000017F */
  109. 0000011E  7263                     moveq.l    D1, 0x63
  110. 00000120  6828                     bvc        +0x2A /* 0000014A */
  111. 00000122  636F                     bls        +0x71 /* 00000193 */
  112. 00000124  6E74                     bgt        +0x76 /* 0000019A */
  113. 00000126  6169                     bsr        +0x6B /* 00000191 */
  114. 00000128  6E65                     bgt        +0x67 /* 0000018F */
  115. 0000012A  722C                     moveq.l    D1, 0x2C
  116. 0000012C  2074 6865                movea.l    A0, [A4 + D6 + 0x65]
  117. 00000130  5374 7269                subq.w     [A4 + D7.w * 2 + 0x69], 1
  118. 00000134  6E67                     bgt        +0x69 /* 0000019D */
  119. 00000136  2C20                     move.l     D6, -[A0]
  120. 00000138  7365                     moveq.l    D1, 0x65
  121. 0000013A  6172                     bsr        +0x74 /* 000001AE */
  122. 0000013C  6368                     bls        +0x6A /* 000001A6 */
  123. 0000013E  5768 6F6C                subq.w     [A0 + 0x6F6C], 3
  124. 00000142  652C                     bcs        +0x2E /* 00000170 */
  125. 00000144  2045                     movea.l    A0, D5
  126. 00000146  7665                     moveq.l    D3, 0x65
  127. 00000148  7279                     moveq.l    D1, 0x79
  128. label0000014A:
  129. 0000014A  204F                     movea.l    A0, A7
  130. 0000014C  6363                     bls        +0x65 /* 000001B1 */
  131. 0000014E  7572                     moveq.l    D2, 0x72
  132. 00000150  7265                     moveq.l    D1, 0x65
  133. 00000152  6E63                     bgt        +0x65 /* 000001B7 */
  134. label00000154:
  135. 00000154  6520                     bcs        +0x22 /* 00000176 */
  136. 00000156  466C 6167                not.w      [A4 + 0x6167]
  137. 0000015A  2900                     move.l     -[A4], D0
  138. 0000015C  3F53 6561                move.w     [A7 + 0x6561], [A3]
  139. 00000160  7263                     moveq.l    D1, 0x63
  140. 00000162  6820                     bvc        +0x22 /* 00000184 */
  141. 00000164  5846                     addq.w     D6, 4
  142. 00000166  434E                     chk.w      D1, A6
  143. 00000168  2031 2E31                move.l     D0, [A1 + D2 * 8 + 0x31]
  144. 0000016C  20A9 3139                move.l     [A0], [A1 + 0x3139]
  145. label00000170:
  146. 00000170  3930 2041                move.w     -[A4], [A0 + D2.w + 0x41]
  147. 00000174  7070                     moveq.l    D0, 0x70
  148. label00000176:
  149. 00000176  6C65                     bge        +0x67 /* 000001DD */
  150. 00000178  2043                     movea.l    A0, D3
  151. 0000017A  6F6D                     ble        +0x6F /* 000001E9 */
  152. 0000017C  7075                     moveq.l    D0, 0x75
  153. 0000017E  7465                     moveq.l    D2, 0x65
  154. 00000180  722C                     moveq.l    D1, 0x2C
  155. 00000182  2049                     movea.l    A0, A1
  156. label00000184:
  157. 00000184  6E63                     bgt        +0x65 /* 000001E9 */
  158. 00000186  2E20                     move.l     D7, -[A0]
  159. 00000188  416C 6C20                chk.w      D0, [A4 + 0x6C20]
  160. // begin alternate branch 0000018A-0000018C
  161. label0000018A:
  162. 0000018A  6C20                     bge        +0x22 /* 000001AC */
  163. // end alternate branch 0000018A-0000018C
  164. label0000018A: // (misaligned)
  165. 0000018C  5269 6768                addq.w     [A1 + 0x6768], 1
  166. 00000190  7473                     moveq.l    D2, 0x73
  167. 00000192  2052                     movea.l    A0, [A2]
  168. 00000194  6573                     bcs        +0x75 /* 00000209 */
  169. 00000196  6572                     bcs        +0x74 /* 0000020A */
  170. 00000198  7665                     moveq.l    D3, 0x65
  171. label0000019A:
  172. 0000019A  642E                     bcc        +0x30 /* 000001CA */
  173. 0000019C  0121                     btst       -[A1], D0
  174. 0000019E  013F                     btst       <<invalid special address>>, D0
  175. fn000001A0:
  176. 000001A0  4E56 0000                link       A6, 0
  177. 000001A4  206E 0010                movea.l    A0, [A6 + 0x10]
  178. // begin alternate branch 000001A6-000001AE
  179. label000001A6:
  180. 000001A6  0010 202E                ori.b      [A0], 0x2E /* '.' */
  181. 000001AA  000C D190                ori.b      A4, 0x90
  182. // end alternate branch 000001A6-000001AE
  183. label000001A6: // (misaligned)
  184. 000001A8  202E 000C                move.l     D0, [A6 + 0xC]
  185. label000001AC:
  186. 000001AC  D190                     add.l      [A0], D0
  187. fn000001AE:
  188. 000001AE  4E5E                     unlink     A6
  189. 000001B0  205F                     movea.l    A0, [A7]+
  190. 000001B2  DEFC 000C                add.w      A7, 0xC
  191. 000001B6  4ED0                     jmp        [A0]
  192. 000001B8  9049                     sub.w      D0, A1
  193. 000001BA  4E43                     trap       3
  194. 000001BC  5245                     addq.w     D5, 1
  195. 000001BE  4D45                     chk.w      D6, D5
  196. 000001C0  4E54 504F                link       A4, -0xFFFFAFB1
  197. 000001C4  494E                     chk.w      D4, A6
  198. 000001C6  5445                     addq.w     D5, 2
  199. 000001C8  5200                     addq.b     D0, 1
  200. label000001CA:
  201. 000001CA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  202. // begin alternate branch 000001CC-000001D0
  203. fn000001CC:
  204. 000001CC  4E56 FFFE                link       A6, -0x0002
  205. // end alternate branch 000001CC-000001D0
  206. fn000001CC: // (misaligned)
  207. 000001CE  FFFE                     .invalid   <<F/7/7>>
  208. 000001D0  48E7 0118                movem.l    -[A7], D7,A3,A4
  209. 000001D4  266E 000C                movea.l    A3, [A6 + 0xC]
  210. 000001D8  286E 0008                movea.l    A4, [A6 + 0x8]
  211. 000001DC  4207                     clr.b      D7
  212. label000001DE:
  213. 000001DE  2053                     movea.l    A0, [A3]
  214. 000001E0  1010                     move.b     D0, [A0]
  215. 000001E2  4880                     ext.w      D0
  216. 000001E4  6726                     beq        +0x28 /* 0000020C */
  217. 000001E6  0440 000D                subi.w     D0, 0xD /* '\r' */
  218. 000001EA  670E                     beq        +0x10 /* 000001FA */
  219. 000001EC  0440 0013                subi.w     D0, 0x13
  220. 000001F0  6716                     beq        +0x18 /* 00000208 */
  221. 000001F2  0440 000C                subi.w     D0, 0xC
  222. 000001F6  670A                     beq        +0xC /* 00000202 */
  223. 000001F8  601A                     bra        +0x1C /* 00000214 */
  224. label000001FA:
  225. 000001FA  52AC FBF4                addq.l     [A4 - 0x40C], 1
  226. 000001FE  7E01                     moveq.l    D7, 0x01
  227. 00000200  6012                     bra        +0x14 /* 00000214 */
  228. label00000202:
  229. 00000202  52AC FBF0                addq.l     [A4 - 0x410], 1
  230. 00000206  600C                     bra        +0xE /* 00000214 */
  231. label00000208:
  232. 00000208  7E01                     moveq.l    D7, 0x01
  233. label0000020A:
  234. 0000020A  6008                     bra        +0xA /* 00000214 */
  235. label0000020C:
  236. 0000020C  7E01                     moveq.l    D7, 0x01
  237. 0000020E  197C 0001 FBEE           move.b     [A4 - 0x412], 0x1
  238. label00000214:
  239. 00000214  5293                     addq.l     [A3], 1
  240. 00000216  2053                     movea.l    A0, [A3]
  241. 00000218  4A10                     tst.b      [A0]
  242. 0000021A  57C0                     seq        D0
  243. 0000021C  C007                     and.b      D0, D7
  244. 0000021E  6706                     beq        +0x8 /* 00000226 */
  245. 00000220  197C 0001 FBEE           move.b     [A4 - 0x412], 0x1
  246. label00000226:
  247. 00000226  1007                     move.b     D0, D7
  248. 00000228  67B4                     beq        -0x4A /* 000001DE */
  249. 0000022A  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  250. 0000022E  4E5E                     unlink     A6
  251. 00000230  205F                     movea.l    A0, [A7]+
  252. 00000232  504F                     addq.w     A7, 8
  253. 00000234  4ED0                     jmp        [A0]
  254. 00000236  8B53                     or.w       [A3], D5
  255. 00000238  4341                     chk.w      D1, D1
  256. 0000023A  4E54 4F53                link       A4, -0xFFFFB0AD
  257. 0000023E  5041                     addq.w     D1, 8
  258. 00000240  4345                     chk.w      D1, D5
  259. 00000242  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  260. // begin alternate branch 00000244-0000024A
  261. fn00000244:
  262. 00000244  4E56 0000                link       A6, 0
  263. 00000248  2F0C                     move.l     -[A7], A4
  264. // end alternate branch 00000244-0000024A
  265. fn00000244: // (misaligned)
  266. 00000246  0000 2F0C                ori.b      D0, 0xC
  267. 0000024A  286E 0008                movea.l    A4, [A6 + 0x8]
  268. 0000024E  206E 000C                movea.l    A0, [A6 + 0xC]
  269. 00000252  2050                     movea.l    A0, [A0]
  270. 00000254  1010                     move.b     D0, [A0]
  271. 00000256  4880                     ext.w      D0
  272. 00000258  671A                     beq        +0x1C /* 00000274 */
  273. 0000025A  0440 000D                subi.w     D0, 0xD /* '\r' */
  274. 0000025E  6708                     beq        +0xA /* 00000268 */
  275. 00000260  0440 001F                subi.w     D0, 0x1F
  276. 00000264  6708                     beq        +0xA /* 0000026E */
  277. 00000266  6014                     bra        +0x16 /* 0000027C */
  278. label00000268:
  279. 00000268  52AC FBF4                addq.l     [A4 - 0x40C], 1
  280. 0000026C  600E                     bra        +0x10 /* 0000027C */
  281. label0000026E:
  282. 0000026E  52AC FBF0                addq.l     [A4 - 0x410], 1
  283. 00000272  6008                     bra        +0xA /* 0000027C */
  284. label00000274:
  285. 00000274  197C 0001 FBEE           move.b     [A4 - 0x412], 0x1
  286. 0000027A  6010                     bra        +0x12 /* 0000028C */
  287. label0000027C:
  288. 0000027C  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  289. 00000280  7001                     moveq.l    D0, 0x01
  290. 00000282  2F00                     move.l     -[A7], D0
  291. 00000284  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  292. 00000288  4EBA FF16                jsr        [PC - 0xEA /* 000001A0 */]
  293. label0000028C:
  294. 0000028C  285F                     movea.l    A4, [A7]+
  295. 0000028E  4E5E                     unlink     A6
  296. 00000290  205F                     movea.l    A0, [A7]+
  297. 00000292  504F                     addq.w     A7, 8
  298. 00000294  4ED0                     jmp        [A0]
  299. 00000296  8853                     or.w       D4, [A3]
  300. 00000298  4341                     chk.w      D1, D1
  301. 0000029A  4E4E                     trap       14
  302. 0000029C  4558                     chk.w      D2, [A0]+
  303. 0000029E  5400                     addq.b     D0, 2
  304. 000002A0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  305. // begin alternate branch 000002A2-000002A6
  306. fn000002A2:
  307. 000002A2  4E56 FD00                link       A6, -0x0300
  308. // end alternate branch 000002A2-000002A6
  309. fn000002A2: // (misaligned)
  310. 000002A4  FD00                     .extension 0xD00 <<F/4-5/6>> // unimplemented
  311. 000002A6  2F0C                     move.l     -[A7], A4
  312. 000002A8  286E 0008                movea.l    A4, [A6 + 0x8]
  313. 000002AC  2F2C 0008                move.l     -[A7], [A4 + 0x8]
  314. 000002B0  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  315. 000002B4  486E FE00                pea.l      [A6 - 0x200]
  316. 000002B8  4EBA 0204                jsr        [PC + 0x204 /* 000004BE */]
  317. 000002BC  2F2C 0008                move.l     -[A7], [A4 + 0x8]
  318. 000002C0  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  319. 000002C4  486E FF00                pea.l      [A6 - 0x100]
  320. 000002C8  4EBA 01F4                jsr        [PC + 0x1F4 /* 000004BE */]
  321. 000002CC  102C FBEF                move.b     D0, [A4 - 0x411]
  322. 000002D0  6732                     beq        +0x34 /* 00000304 */
  323. 000002D2  486C FD00                pea.l      [A4 - 0x300]
  324. 000002D6  486E FF00                pea.l      [A6 - 0x100]
  325. 000002DA  487A 0072                pea.l      [PC + 0x72 /* 0000034E, value 0x12C4E56 */]
  326. 000002DE  486E FE00                pea.l      [A6 - 0x200]
  327. 000002E2  486C FC00                pea.l      [A4 - 0x400]
  328. 000002E6  486E FD00                pea.l      [A6 - 0x300]
  329. 000002EA  3F3C 0005                move.w     -[A7], 0x5
  330. 000002EE  4EBA 02EA                jsr        [PC + 0x2EA /* 000005DA */]
  331. 000002F2  41EC FD00                lea.l      A0, [A4 - 0x300]
  332. 000002F6  43EE FD00                lea.l      A1, [A6 - 0x300]
  333. 000002FA  703F                     moveq.l    D0, 0x3F
  334. label000002FC:
  335. 000002FC  20D9                     move.l     [A0]+, [A1]+
  336. 000002FE  51C8 FFFC                dbf        D0, -0x6 /* 000002FC */
  337. 00000302  6036                     bra        +0x38 /* 0000033A */
  338. label00000304:
  339. 00000304  4A2C FD00                tst.b      [A4 - 0x300]
  340. 00000308  6630                     bne        +0x32 /* 0000033A */
  341. 0000030A  486C FD00                pea.l      [A4 - 0x300]
  342. 0000030E  486E FF00                pea.l      [A6 - 0x100]
  343. 00000312  487A 003A                pea.l      [PC + 0x3A /* 0000034E, value 0x12C4E56 */]
  344. 00000316  486E FE00                pea.l      [A6 - 0x200]
  345. 0000031A  486C FC00                pea.l      [A4 - 0x400]
  346. 0000031E  486E FD00                pea.l      [A6 - 0x300]
  347. 00000322  3F3C 0005                move.w     -[A7], 0x5
  348. 00000326  4EBA 02B2                jsr        [PC + 0x2B2 /* 000005DA */]
  349. 0000032A  41EC FD00                lea.l      A0, [A4 - 0x300]
  350. 0000032E  43EE FD00                lea.l      A1, [A6 - 0x300]
  351. 00000332  703F                     moveq.l    D0, 0x3F
  352. label00000334:
  353. 00000334  20D9                     move.l     [A0]+, [A1]+
  354. 00000336  51C8 FFFC                dbf        D0, -0x6 /* 00000334 */
  355. label0000033A:
  356. 0000033A  285F                     movea.l    A4, [A7]+
  357. 0000033C  4E5E                     unlink     A6
  358. 0000033E  205F                     movea.l    A0, [A7]+
  359. 00000340  DEFC 000C                add.w      A7, 0xC
  360. 00000344  4ED0                     jmp        [A0]
  361. 00000346  854C 4F47                pack       -[A2], -[A4], 0x4F47
  362. 0000034A  4954                     chk.w      D4, [A4]
  363. 0000034C  0002 012C                ori.b      D2, 0x2C /* ',' */
  364. fn00000350:
  365. 00000350  4E56 FBEC                link       A6, -0x0414
  366. 00000354  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  367. 00000358  206E 0008                movea.l    A0, [A6 + 0x8]
  368. 0000035C  3D50 FBFA                move.w     [A6 - 0x406], [A0]
  369. 00000360  3F2E FBFA                move.w     -[A7], [A6 - 0x406]
  370. 00000364  2F0E                     move.l     -[A7], A6
  371. 00000366  4EBA FD0C                jsr        [PC - 0x2F4 /* 00000074 */]
  372. 0000036A  42A7                     clr.l      -[A7]
  373. 0000036C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  374. 00000370  206E 0008                movea.l    A0, [A6 + 0x8]
  375. 00000374  2068 0006                movea.l    A0, [A0 + 0x6]
  376. 00000378  2F10                     move.l     -[A7], [A0]
  377. 0000037A  4EBA 0104                jsr        [PC + 0x104 /* 00000480 */]
  378. 0000037E  201F                     move.l     D0, [A7]+
  379. 00000380  3D40 FBF8                move.w     [A6 - 0x408], D0
  380. 00000384  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  381. 00000388  206E 0008                movea.l    A0, [A6 + 0x8]
  382. 0000038C  2068 000A                movea.l    A0, [A0 + 0xA]
  383. 00000390  2F10                     move.l     -[A7], [A0]
  384. 00000392  486E FF00                pea.l      [A6 - 0x100]
  385. 00000396  4EBA 01FA                jsr        [PC + 0x1FA /* 00000592 */]
  386. 0000039A  4267                     clr.w      -[A7]
  387. 0000039C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  388. 000003A0  486E FF00                pea.l      [A6 - 0x100]
  389. 000003A4  4EBA 01A0                jsr        [PC + 0x1A0 /* 00000546 */]
  390. 000003A8  1D5F FBED                move.b     [A6 - 0x413], [A7]+
  391. 000003AC  7004                     moveq.l    D0, 0x04
  392. 000003AE  B06E FBFA                cmp.w      D0, [A6 - 0x406]
  393. 000003B2  6608                     bne        +0xA /* 000003BC */
  394. 000003B4  1D7C 0001 FBEF           move.b     [A6 - 0x411], 0x1
  395. 000003BA  6004                     bra        +0x6 /* 000003C0 */
  396. label000003BC:
  397. 000003BC  422E FBEF                clr.b      [A6 - 0x411]
  398. label000003C0:
  399. 000003C0  422E FBEE                clr.b      [A6 - 0x412]
  400. 000003C4  7001                     moveq.l    D0, 0x01
  401. 000003C6  2D40 FBF4                move.l     [A6 - 0x40C], D0
  402. 000003CA  7001                     moveq.l    D0, 0x01
  403. 000003CC  2D40 FBF0                move.l     [A6 - 0x410], D0
  404. 000003D0  422E FD00                clr.b      [A6 - 0x300]
  405. 000003D4  1D7C 0001 FF00           move.b     [A6 - 0x100], 0x1
  406. 000003DA  1D7C 0001 FC00           move.b     [A6 - 0x400], 0x1
  407. 000003E0  1D7C 000D FC01           move.b     [A6 - 0x3FF], 0xD /* '\r' */
  408. 000003E6  206E 0008                movea.l    A0, [A6 + 0x8]
  409. 000003EA  2068 0002                movea.l    A0, [A0 + 0x2]
  410. 000003EE  2D50 FBFC                move.l     [A6 - 0x404], [A0]
  411. label000003F2:
  412. 000003F2  4267                     clr.w      -[A7]
  413. 000003F4  206E 0008                movea.l    A0, [A6 + 0x8]
  414. 000003F8  2068 0006                movea.l    A0, [A0 + 0x6]
  415. 000003FC  2F10                     move.l     -[A7], [A0]
  416. 000003FE  2F2E FBFC                move.l     -[A7], [A6 - 0x404]
  417. 00000402  3F2E FBF8                move.w     -[A7], [A6 - 0x408]
  418. 00000406  3F2E FBF8                move.w     -[A7], [A6 - 0x408]
  419. 0000040A  4EBA 01C2                jsr        [PC + 0x1C2 /* 000005CE */]
  420. 0000040E  4A5F                     tst.w      [A7]+
  421. 00000410  6616                     bne        +0x18 /* 00000428 */
  422. 00000412  2F2E FBF4                move.l     -[A7], [A6 - 0x40C]
  423. 00000416  2F2E FBF0                move.l     -[A7], [A6 - 0x410]
  424. 0000041A  2F0E                     move.l     -[A7], A6
  425. 0000041C  4EBA FE84                jsr        [PC - 0x17C /* 000002A2 */]
  426. 00000420  102E FBEF                move.b     D0, [A6 - 0x411]
  427. 00000424  6602                     bne        +0x4 /* 00000428 */
  428. 00000426  6024                     bra        +0x26 /* 0000044C */
  429. label00000428:
  430. 00000428  102E FBED                move.b     D0, [A6 - 0x413]
  431. 0000042C  670C                     beq        +0xE /* 0000043A */
  432. 0000042E  486E FBFC                pea.l      [A6 - 0x404]
  433. 00000432  2F0E                     move.l     -[A7], A6
  434. 00000434  4EBA FD96                jsr        [PC - 0x26A /* 000001CC */]
  435. 00000438  600A                     bra        +0xC /* 00000444 */
  436. label0000043A:
  437. 0000043A  486E FBFC                pea.l      [A6 - 0x404]
  438. 0000043E  2F0E                     move.l     -[A7], A6
  439. 00000440  4EBA FE02                jsr        [PC - 0x1FE /* 00000244 */]
  440. label00000444:
  441. 00000444  7001                     moveq.l    D0, 0x01
  442. 00000446  B02E FBEE                cmp.b      D0, [A6 - 0x412]
  443. 0000044A  66A6                     bne        -0x58 /* 000003F2 */
  444. label0000044C:
  445. 0000044C  206E 0008                movea.l    A0, [A6 + 0x8]
  446. 00000450  2F08                     move.l     -[A7], A0
  447. 00000452  42A7                     clr.l      -[A7]
  448. 00000454  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  449. 00000458  486E FD00                pea.l      [A6 - 0x300]
  450. 0000045C  4EBA 009C                jsr        [PC + 0x9C /* 000004FA */]
  451. 00000460  201F                     move.l     D0, [A7]+
  452. 00000462  205F                     movea.l    A0, [A7]+
  453. 00000464  2140 0042                move.l     [A0 + 0x42], D0
  454. label00000468:
  455. 00000468  4FEE FBCC                lea.l      A7, [A6 - 0x434]
  456. 0000046C  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  457. 00000470  4E5E                     unlink     A6
  458. 00000472  2E9F                     move.l     [A7], [A7]+
  459. 00000474  4E75                     rts
  460. 00000476  8653                     or.w       D3, [A3]
  461. 00000478  4541                     chk.w      D2, D1
  462. 0000047A  5243                     addq.w     D3, 1
  463. 0000047C  4800                     nbcd.b     D0
  464. 0000047E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  465. // begin alternate branch 00000480-00000486
  466. fn00000480:
  467. 00000480  4E56 0000                link       A6, 0
  468. 00000484  2F0C                     move.l     -[A7], A4
  469. // end alternate branch 00000480-00000486
  470. fn00000480: // (misaligned)
  471. 00000482  0000 2F0C                ori.b      D0, 0xC
  472. 00000486  286E 000C                movea.l    A4, [A6 + 0xC]
  473. 0000048A  296E 0008 0050           move.l     [A4 + 0x50], [A6 + 0x8]
  474. 00000490  397C 0003 004C           move.w     [A4 + 0x4C], 0x3
  475. 00000496  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  476. 0000049A  205F                     movea.l    A0, [A7]+
  477. 0000049C  4E90                     jsr        [A0]
  478. 0000049E  2D6C 0070 0010           move.l     [A6 + 0x10], [A4 + 0x70]
  479. 000004A4  285F                     movea.l    A4, [A7]+
  480. 000004A6  4E5E                     unlink     A6
  481. 000004A8  205F                     movea.l    A0, [A7]+
  482. 000004AA  504F                     addq.w     A7, 8
  483. 000004AC  4ED0                     jmp        [A0]
  484. 000004AE  8C53                     or.w       D6, [A3]
  485. 000004B0  5452                     addq.w     [A2], 2
  486. 000004B2  494E                     chk.w      D4, A6
  487. 000004B4  474C                     chk.w      D3, A4
  488. 000004B6  454E                     chk.w      D2, A6
  489. 000004B8  4754                     chk.w      D3, [A4]
  490. 000004BA  4800                     nbcd.b     D0
  491. 000004BC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  492. // begin alternate branch 000004BE-000004C4
  493. fn000004BE:
  494. 000004BE  4E56 0000                link       A6, 0
  495. 000004C2  2F0C                     move.l     -[A7], A4
  496. // end alternate branch 000004BE-000004C4
  497. fn000004BE: // (misaligned)
  498. 000004C0  0000 2F0C                ori.b      D0, 0xC
  499. 000004C4  286E 0010                movea.l    A4, [A6 + 0x10]
  500. 000004C8  296E 000C 0050           move.l     [A4 + 0x50], [A6 + 0xC]
  501. 000004CE  296E 0008 0054           move.l     [A4 + 0x54], [A6 + 0x8]
  502. 000004D4  397C 000D 004C           move.w     [A4 + 0x4C], 0xD /* '\r' */
  503. 000004DA  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  504. 000004DE  205F                     movea.l    A0, [A7]+
  505. 000004E0  4E90                     jsr        [A0]
  506. 000004E2  285F                     movea.l    A4, [A7]+
  507. 000004E4  4E5E                     unlink     A6
  508. 000004E6  205F                     movea.l    A0, [A7]+
  509. 000004E8  DEFC 000C                add.w      A7, 0xC
  510. 000004EC  4ED0                     jmp        [A0]
  511. 000004EE  894C 4F4E                pack       -[A4], -[A4], 0x4F4E
  512. 000004F2  4754                     chk.w      D3, [A4]
  513. 000004F4  4F53                     chk.w      D7, [A3]
  514. 000004F6  5452                     addq.w     [A2], 2
  515. 000004F8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  516. // begin alternate branch 000004FA-000004FE
  517. fn000004FA:
  518. 000004FA  4E56 FF00                link       A6, -0x0100
  519. // end alternate branch 000004FA-000004FE
  520. fn000004FA: // (misaligned)
  521. 000004FC  FF00                     .extension 0xF00 <<F/4-5/7>> // unimplemented
  522. 000004FE  2F0C                     move.l     -[A7], A4
  523. 00000500  206E 0008                movea.l    A0, [A6 + 0x8]
  524. 00000504  43EE FF00                lea.l      A1, [A6 - 0x100]
  525. 00000508  703F                     moveq.l    D0, 0x3F
  526. label0000050A:
  527. 0000050A  22D8                     move.l     [A1]+, [A0]+
  528. 0000050C  51C8 FFFC                dbf        D0, -0x6 /* 0000050A */
  529. 00000510  286E 000C                movea.l    A4, [A6 + 0xC]
  530. 00000514  41EE FF00                lea.l      A0, [A6 - 0x100]
  531. 00000518  2948 0050                move.l     [A4 + 0x50], A0
  532. 0000051C  397C 0007 004C           move.w     [A4 + 0x4C], 0x7
  533. 00000522  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  534. 00000526  205F                     movea.l    A0, [A7]+
  535. 00000528  4E90                     jsr        [A0]
  536. 0000052A  2D6C 0070 0010           move.l     [A6 + 0x10], [A4 + 0x70]
  537. 00000530  285F                     movea.l    A4, [A7]+
  538. 00000532  4E5E                     unlink     A6
  539. 00000534  205F                     movea.l    A0, [A7]+
  540. 00000536  504F                     addq.w     A7, 8
  541. 00000538  4ED0                     jmp        [A0]
  542. 0000053A  8950                     or.w       [A0], D4
  543. 0000053C  4153                     chk.w      D0, [A3]
  544. 0000053E  544F                     addq.w     A7, 2
  545. 00000540  5A45                     addq.w     D5, 5
  546. 00000542  524F                     addq.w     A7, 1
  547. 00000544  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  548. // begin alternate branch 00000546-0000054A
  549. fn00000546:
  550. 00000546  4E56 FF00                link       A6, -0x0100
  551. // end alternate branch 00000546-0000054A
  552. fn00000546: // (misaligned)
  553. 00000548  FF00                     .extension 0xF00 <<F/4-5/7>> // unimplemented
  554. 0000054A  2F0C                     move.l     -[A7], A4
  555. 0000054C  206E 0008                movea.l    A0, [A6 + 0x8]
  556. 00000550  43EE FF00                lea.l      A1, [A6 - 0x100]
  557. 00000554  703F                     moveq.l    D0, 0x3F
  558. label00000556:
  559. 00000556  22D8                     move.l     [A1]+, [A0]+
  560. 00000558  51C8 FFFC                dbf        D0, -0x6 /* 00000556 */
  561. 0000055C  286E 000C                movea.l    A4, [A6 + 0xC]
  562. 00000560  41EE FF00                lea.l      A0, [A6 - 0x100]
  563. 00000564  2948 0050                move.l     [A4 + 0x50], A0
  564. 00000568  397C 000B 004C           move.w     [A4 + 0x4C], 0xB
  565. 0000056E  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  566. 00000572  205F                     movea.l    A0, [A7]+
  567. 00000574  4E90                     jsr        [A0]
  568. 00000576  1D6C 0073 0010           move.b     [A6 + 0x10], [A4 + 0x73]
  569. 0000057C  285F                     movea.l    A4, [A7]+
  570. 0000057E  4E5E                     unlink     A6
  571. 00000580  205F                     movea.l    A0, [A7]+
  572. 00000582  504F                     addq.w     A7, 8
  573. 00000584  4ED0                     jmp        [A0]
  574. 00000586  8953                     or.w       [A3], D4
  575. 00000588  5452                     addq.w     [A2], 2
  576. 0000058A  544F                     addq.w     A7, 2
  577. 0000058C  424F                     clr.w      A7
  578. 0000058E  4F4C                     chk.w      D7, A4
  579. 00000590  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  580. // begin alternate branch 00000592-00000598
  581. fn00000592:
  582. 00000592  4E56 0000                link       A6, 0
  583. 00000596  2F0C                     move.l     -[A7], A4
  584. // end alternate branch 00000592-00000598
  585. fn00000592: // (misaligned)
  586. 00000594  0000 2F0C                ori.b      D0, 0xC
  587. 00000598  286E 0010                movea.l    A4, [A6 + 0x10]
  588. 0000059C  296E 000C 0050           move.l     [A4 + 0x50], [A6 + 0xC]
  589. 000005A2  296E 0008 0054           move.l     [A4 + 0x54], [A6 + 0x8]
  590. 000005A8  397C 0008 004C           move.w     [A4 + 0x4C], 0x8
  591. 000005AE  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  592. 000005B2  205F                     movea.l    A0, [A7]+
  593. 000005B4  4E90                     jsr        [A0]
  594. 000005B6  285F                     movea.l    A4, [A7]+
  595. 000005B8  4E5E                     unlink     A6
  596. 000005BA  205F                     movea.l    A0, [A7]+
  597. 000005BC  DEFC 000C                add.w      A7, 0xC
  598. 000005C0  4ED0                     jmp        [A0]
  599. 000005C2  895A                     or.w       [A2]+, D4
  600. 000005C4  4552                     chk.w      D2, [A2]
  601. 000005C6  4F54                     chk.w      D7, [A4]
  602. 000005C8  4F50                     chk.w      D7, [A0]
  603. 000005CA  4153                     chk.w      D0, [A3]
  604. 000005CC  0000 343C                ori.b      D0, 0x3C /* '<' */
  605. // begin alternate branch 000005CE-000005D4
  606. fn000005CE:
  607. 000005CE  343C 000C                move.w     D2, 0xC
  608. 000005D2  205F                     movea.l    A0, [A7]+
  609. // end alternate branch 000005CE-000005D4
  610. fn000005CE: // (misaligned)
  611. 000005D0  000C 205F                ori.b      A4, 0x5F /* '_' */
  612. 000005D4  3F02                     move.w     -[A7], D2
  613. 000005D6  2F08                     move.l     -[A7], A0
  614. 000005D8  ADED                     syscall    Pack6, auto_pop
  615. fn000005DA:
  616. 000005DA  48E7 E0E0                movem.l    -[A7], D0,D1,D2,A0,A1,A2
  617. 000005DE  43EF 001C                lea.l      A1, [A7 + 0x1C]
  618. 000005E2  3019                     move.w     D0, [A1]+
  619. 000005E4  2059                     movea.l    A0, [A1]+
  620. 000005E6  3400                     move.w     D2, D0
  621. 000005E8  D442                     add.w      D2, D2
  622. 000005EA  D442                     add.w      D2, D2
  623. 000005EC  D2C2                     add.w      A1, D2
  624. 000005EE  4241                     clr.w      D1
  625. 000005F0  5248                     addq.w     A0, 1
  626. 000005F2  6020                     bra        +0x22 /* 00000614 */
  627. label000005F4:
  628. 000005F4  2461                     movea.l    A2, -[A1]
  629. 000005F6  4242                     clr.w      D2
  630. 000005F8  141A                     move.b     D2, [A2]+
  631. 000005FA  D242                     add.w      D1, D2
  632. 000005FC  0C41 00FF                cmpi.w     D1, 0xFF
  633. 00000600  6F0E                     ble        +0x10 /* 00000610 */
  634. 00000602  0441 00FF                subi.w     D1, 0xFF
  635. 00000606  9441                     sub.w      D2, D1
  636. 00000608  323C 00FF                move.w     D1, 0xFF
  637. 0000060C  6002                     bra        +0x4 /* 00000610 */
  638. label0000060E:
  639. 0000060E  10DA                     move.b     [A0]+, [A2]+
  640. label00000610:
  641. 00000610  51CA FFFC                dbf        D2, -0x6 /* 0000060E */
  642. label00000614:
  643. 00000614  51C8 FFDE                dbf        D0, -0x24 /* 000005F4 */
  644. 00000618  2061                     movea.l    A0, -[A1]
  645. 0000061A  1081                     move.b     [A0], D1
  646. 0000061C  3021                     move.w     D0, -[A1]
  647. 0000061E  2049                     movea.l    A0, A1
  648. 00000620  D040                     add.w      D0, D0
  649. 00000622  D040                     add.w      D0, D0
  650. 00000624  D0C0                     add.w      A0, D0
  651. 00000626  5448                     addq.w     A0, 2
  652. 00000628  20A1                     move.l     [A0], -[A1]
  653. 0000062A  2288                     move.l     [A1], A0
  654. 0000062C  4CDF 0707                movem.l    D0,D1,D2,A0,A1,A2, [A7]+
  655. 00000630  2E5F                     movea.l    A7, [A7]+
  656. 00000632  4E75                     rts
  657. 00000634  48E7 C0C0                movem.l    -[A7], D0,D1,A0,A1
  658. 00000638  7201                     moveq.l    D1, 0x01
  659. 0000063A  6006                     bra        +0x8 /* 00000642 */
  660. fn0000063C:
  661. 0000063C  48E7 C0C0                movem.l    -[A7], D0,D1,A0,A1
  662. 00000640  4241                     clr.w      D1
  663. label00000642:
  664. 00000642  206F 0018                movea.l    A0, [A7 + 0x18]
  665. 00000646  226F 0014                movea.l    A1, [A7 + 0x14]
  666. 0000064A  4240                     clr.w      D0
  667. 0000064C  1010                     move.b     D0, [A0]
  668. label0000064E:
  669. 0000064E  B308                     cmpm.b     [A1]+, [A0]+
  670. 00000650  56C8 FFFC                dbne       D0, -0x6 /* 0000064E */
  671. 00000654  6604                     bne        +0x6 /* 0000065A */
  672. 00000656  0A41 0001                xori.w     D1, 0x1
  673. label0000065A:
  674. 0000065A  1F41 001A                move.b     [A7 + 0x1A], D1
  675. 0000065E  2F6F 0010 0016           move.l     [A7 + 0x16], [A7 + 0x10]
  676. 00000664  4CDF 0303                movem.l    D0,D1,A0,A1, [A7]+
  677. 00000668  5C4F                     addq.w     A7, 6
  678. 0000066A  4E75                     rts
  679.